home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-02-28 | 671 b | 23 lines | [TEXT/ttxt] |
- -- *******************************************************
- -- * *
- -- * ChangeTempoAction class *
- -- * *
- -- *******************************************************
-
- class ChangeTempoAction (Action)
- instance variables
- tempoValue
- end
-
- method init self {class ChangeTempoAction} #rest args #key tempo:(0) ->
- (
- apply nextMethod self args
- self.tempoValue := tempo
- )
-
- method trigger self {class ChangeTempoAction} theTarget thePlayer ->
- (
- -- YOW! Look at this code, Ma!
- thePlayer.scorePlayer.scoreTicker.rate := self.tempoValue
- )
-